package com.example.demo.service;

import com.example.demo.pojo.Jilue;
import com.example.demo.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NumberService {

    // all number
    List<User> getAllNumbers();

    List<User> getAllRole();

    List<User> getTeacherStatus();

    List<User> getAllStatus();


//    @Select("select * from JiLue where info = '警告'")
    List<User> getWarn();

//    @Select("select * from JiLue where info = '严重警告'")
    List<User> getSeriouWarn();

//    @Select("select * from JiLue where info = '留校察看'")
    List<User> getSeekWarn();

//    @Select("select * from JiLue where info = '记过'")
    List<User> getJiGuoWarn();

//    @Select("select * from JiLue where info = '开除学籍'")
    List<User> getOutWarn();

    List<Jilue> getUpdateTime();
}
